package com.supermarket.api.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 通用删除记录
 * @author 李其伟
 */
@ApiModel("ID参数")
@Data
public class IdReq {

    @NotNull
    @ApiModelProperty(value = "主键",required = true,dataType = "Long")
    private Long id;
}
